/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package requeteur;

/**
 *
 * @author Nargisse
 */
public class TermOccurReq {
    private String terme;
    private int nodeId;
    private int position;
    private double poids;
    
    public TermOccurReq(int nodeId, int position, double poids) {
        
        this.nodeId = nodeId;
        this.position = position;
        this.poids = poids;
    }
    
    public TermOccurReq(int nodeId, int position, String terme, double poids) {
        
        this.nodeId = nodeId;
        this.position = position;
        this.poids = poids;
        this.terme = terme;
    }
    
    public String getNameTerme(){
        return this.terme;
    }
    
    public int getNodeId(){
        return this.nodeId;
    }
    
    public int getPosition(){
        return this.position;
    }
    
    public double getPoids(){
        return this.poids;
    }
    
    
    
    
}
